<%
	def tableDefine=tableModel.tableDefine;
    def columns=tableDefine.columns;
%>
package ${config.basePackage}${config.category};
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * ${tableDefine.cnname} 详情DTO类
 *
 * @author ${config.author}
 * @date ${config.nowDate}
 */
@Data
public class ${tableDefine.id}ViewDTO implements Serializable{
	private static final long serialVersionUID = ${PubUtils.getRandomLong()}L;
<%
	columns.each{
		if(it==null || tableModel.isNotInList('viewList',it.columnName)){
			return ;
		}
		println """	@ApiModelProperty(value = "${it.cnname}")""";
		println """	private ${tableNameUtil.getDataType(it.columnType)} ${it.dataName};""";
	};
%>
}